import { BaseController } from "@cool-midway/core";
import { CarInfoEntity } from "../../../entity/car/info";
import { CoolController } from "@cool-midway/core";
import { Body, Inject, Post } from "@midwayjs/core";
import { CarInfoService } from "../../../service/car/info";

@CoolController({
    api: ['add', 'delete', 'update', 'info', 'list', 'page'],
    entity: CarInfoEntity,
})
export class AdminCarInfoController extends BaseController {

    @Inject()
    carInfoService: CarInfoService;

}